<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/home/js/layui/css/layui.css" />
		<link rel="stylesheet" href="__STATIC__/home/css/admin.css" />
		<script type="text/javascript" src="__STATIC__/home/js/jquery.min.js"></script>
		<script type="text/javascript" src="__STATIC__/home/js/layui/layui.js"></script>
	</head>
	<body class="pd30" data-id="AgentRegister"> 
		<div class="center-nav f20">{$pageData.title}</div>
		<div class="notice magin-top3"><i class="iconfont notice-icon"></i><p><a href="javascript:;">请认真填写，保证以后涉及资金提现，充值，付款不会出错，注册信息不可修改！</a></p><i class="iconfont notice-close"></i></div>
		<div class="center-from b-w">
			<form class="layui-form">
				<ul class="center-from-ul clearfix">
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">会员编号</label>
							<div class="layui-input-block">
								<input type="text" name="mid" lay-name="会员编号" lay-verify="empty|space" autocomplete="off" placeholder="请输入会员编号" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">大区</label>
							<div class="layui-input-block">
								<select name="area" lay-filter="area" lay-verify="required" id="area_id">
									<option value="0">请选择大区</option>
								</select>
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">等级</label>
							<div class="layui-input-block">
								<select name="level_id" lay-filter="level_id" lay-verify="required" id="level_id">
									<option value="">请选择会员等级</option>
								</select>
							</div>
						</div>
						
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">类型</label>
							<div class="layui-input-block">
								<select name="type" lay-filter="type" id="type_id" lay-verify="required">
									<option value="1">空单</option>
									<option value="2">实单</option>
								</select>
							</div>
						</div>
					</li>
					
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">推荐人</label>
							<div class="layui-input-block">
								<input type="text" name="inviter_id" lay-verify="empty|space" autocomplete="off" placeholder="请输入推荐人编号" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">安置人</label>
							<div class="layui-input-block">
								<input type="text" name="seter_id" lay-verify="empty|space" autocomplete="off" placeholder="请输入安置人编号" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">真实姓名</label>
							<div class="layui-input-block">
								<input type="text" name="mname" autocomplete="off" placeholder="请输入您得真实姓名" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">登录密码</label>
							<div class="layui-input-block">
								<input type="password" name="password" lay-verify="pass" autocomplete="off" placeholder="请输入6位数字登录密码" class="layui-input">
							</div>
						</div>
						
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">确定登录密码</label>
							<div class="layui-input-block">
								<input type="password" name="rpassword" lay-verify="pass" autocomplete="off" placeholder="请重复6位数字登录密码" class="layui-input">
							</div>
						</div>
						
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">安全密码</label>
							<div class="layui-input-block">
								<input type="password" name="safe_password" lay-verify="safepass" autocomplete="off" placeholder="请输入6位数字安全密码" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">确定安全密码</label>
							<div class="layui-input-block">
								<input type="password" name="rsafe_password" lay-verify="safepass"  autocomplete="off" placeholder="请重复6位数字安全密码" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">身份证</label>
							<div class="layui-input-block">
								<input type="text" name="idcard" autocomplete="off" placeholder="请输入您的身份证号" class="layui-input">
							</div>
						</div>
					</li>
					
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">手机</label>
							<div class="layui-input-block">
								<input type="tel" name="idcard" autocomplete="off" placeholder="请输入您的手机号码" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">邮编</label>
							<div class="layui-input-block">
								<input type="text" name="postcode" autocomplete="off" placeholder="请输入您所在地邮政编码" class="layui-input">
							</div>
						</div>
					</li>
					<li>
						 <label class="layui-form-label">地区</label>
						    <div class="layui-input-inline">
						      <select id="prov" lay-filter="province">
						      
						      </select>
						    </div>
						    <div class="layui-input-inline">
						      <select id="city" lay-filter="city">
						      
						      </select>
						    </div>
						    <div class="layui-input-inline">
						      <select name="city" id="county">
						       
						      </select>
						    </div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">地址</label>
							<div class="layui-input-block">
								<input type="text" name="address" autocomplete="off" placeholder="" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">备注</label>
							<div class="layui-input-block">
								<input type="text" name="remark" autocomplete="off" placeholder="" class="layui-input">
							</div>
						</div>
					</li>
					
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">开启全体分红</label>
							<div class="layui-input-block">
								<select name="is_word" lay-filter="is_word">
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</div>
						</div>
						
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">开启加权分红</label>
							<div class="layui-input-block">
								<select name="is_share" lay-filter="is_share">
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">开启代理中心</label>
							<div class="layui-input-block">
								<select name="is_agent" lay-filter="is_agent" id="is_agent">
								</select>
							</div>
						</div>
					</li>
					<li style="display: none;">
						<input type="hidden" value="{$token}" name="token">
					</li>
				</ul>
			<p class="center-from-p"><input type="button" lay-submit="submit" lay-filter="RegisterSubmit" class="layui-btn layui-bg-orange" value="立即注册"></p>
			</form>
		</div>
		<script>
			var registerSec ="{:url('agent.handle/register')}";
			//等级
			var mLevels="{:url('api.api/levels')}";
			//大区
			var mArea="{:url('api.api/member_area')}";
			//类型
			var mType="{:url('api.api/member_type')}";
			//代理中心
			var mIsAgent="{:url('api.api/member_is_agent')}";
			//地址
			var city="{:url('api.api/city')}";
		</script>
		<script type="text/javascript" src="__STATIC__/home/js/public.js"></script>
</body>
</html>